package cn.kgc.springboot.controller;

import cn.kgc.springboot.service.HelloService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author: mosin
 * @version: v1.0  2022/7/19
 */
@Controller
@RequestMapping("test")
public class HelloController {

    @Autowired
    private HelloService helloService;

    @ResponseBody
    @RequestMapping("t1")
    public String  test01(){

        return "hello springboot";
    }

}
